package org.demo5;


import org.apache.log4j.Logger;
import org.springframework.batch.item.ItemProcessor;

public class CreditBillProcessor implements ItemProcessor<CreditBill, CreditBill> {
    Logger logger = Logger.getLogger(CreditBillProcessor.class);
    @Override
    public CreditBill process(CreditBill creditBill) throws Exception {
        logger.info(creditBill.getTxnAmt());
        return creditBill;
    }
}
